// ========================================
// EZCamera
// Code: Adam Brown
// License: MIT
// ========================================


//========================================================
Table of Contents:
//========================================================
I.	Description
II.	Using the EZCamera
III.	Revision History
IV.	Contact Info


//========================================================
I.	Description:
//========================================================
The EZCamera is a 6 degrees of freedom, Quaternion based 3D Camera.

The EZCamera is designed for new programmers to be a drop
in solution so they can begin learning 3D graphics programming
without the difficulty of the math involved in making a camera.

The EZCamera is largely API independent, but the helper functions
for getting transform matricies are currently geared towards OpenGL.
More API specific helper functions may be added in the future.


//========================================================
II.	Using the EZCamera:
//========================================================
1) Put the file EZCamera.h in the same folder as the rest
of your source code.


2) In the file where you intend to use the EZCamera, you
must add the following line of code to the top of your source
file:
#include "EZCamera.h"


3) Now it's time to create your camera! Declare a EZCamera object
as follows:
EZCamera::EZCamera camera;

Now you have an EZCamera called "camera"


4) To hook the camera into your OpenGL renderer, simply
call the following line of code before you do any rendering:

glLoadMatrixf( camera.getOpenGlMatrix() );


5) Now use the simple functions of the camera to move around your scene!


void setPosition( float x, float y, float z );
void setRotation( float yaw, float pitch, float roll );

void move( float distance );
void strafe( float distance );
void elevate( float distance );
void rotate( float yaw, float pitch, float roll );


//========================================================
III.	Revision History:
//========================================================

27JUL2009 1.1:
-----------------------------------
- Tightened things up
- Removed up vector, was causing more problems then it was solving

07NOV2008 1.1:
-----------------------------------
- Added MIT license to EZCamera.h
- Fixed several static initialization problems with MSVS compiler
- Fixed several implicit conversion warnings for MSVS compiler

Initial Release: 20JUL2008 1.0:
-----------------------------------
- Initial implementation


//========================================================
IV.	Contact Info:
//========================================================
Name: Adam Brown
web: www.darkrockstudios.com
aim: Jebradic
icq: 39886687
msn: wavesonics@hotmail.com
yho: Jebradic
email: adamwbrown@gmail.com